<!DOCTYPE html>
<html lang="en-US">
    <head>
        <title>Date::ICal - Perl extension for ICalendar date objects. - metacpan.org</title>
        <link rel="preload" as="fetch" href="https://metacpan.org/account/login_status" crossorigin="anonymous" />
        <link href="https://metacpan.org/_assets/b8ccceeed47a0652049703d99326a9cea4933443.css" rel="stylesheet" type="text/css">
        <script src="https://metacpan.org/_assets/6bfedafe2d7caa915b7d84f61b45936818e3242e.js" type="text/javascript" defer></script>
        <link rel="alternate" type="application/rss+xml" title="Recent CPAN Uploads of Date-ICal - MetaCPAN" href="https://metacpan.org/dist/Date-ICal/releases.rss" />
        <link rel="canonical" href="./Date::ICal.html" />
        <meta name="description" content="Perl extension for ICalendar date objects." />
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=5">
        <link rel="shortcut icon" href="https://metacpan.org/static/icons/favicon.ico">
        <link rel="apple-touch-icon" sizes="152x152" href="https://metacpan.org/static/icons/apple-touch-icon.png">
        <link rel="search" href="https://metacpan.org/static/opensearch.xml" type="application/opensearchdescription+xml" title="MetaCPAN">
        <script>
          (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
          (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
          m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
          })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

          (function(skey, ga_id){
            ga('create', ga_id, {
              siteSpeedSampleRate : 100,
              storage             : 'none',
              clientId            : localStorage.getItem(skey)
            });
            ga(function(tracker) {
              localStorage.setItem(skey, tracker.get('clientId'));
            });
            ga('send', 'pageview');
          })('ga:clientId', 'UA-27829474-1');
        </script>
<meta name="twitter:card"        content="summary" />
<meta name="twitter:url"         content="https://metacpan.org/pod/Date::ICal" />
<meta name="twitter:title"       content="Date::ICal" />
<meta name="twitter:description" content="Perl extension for ICalendar date objects." />
<meta name="twitter:site"        content="metacpan" />
    </head>
    <body>
        <nav class="navbar navbar-default" role="navigation">
            <div class="header-logo-large hidden-xs">
              <a href="https://metacpan.org/" tabindex="0">
                <svg class="logo" aria-label="MetaCPAN">
                  <use class="logo" href="/static/images/metacpan-logo.svg#logo" />
                </svg>
              </a>
            </div>
            <div class="header-logo-icon visible-xs">
              <a href="https://metacpan.org/">
                <svg class="logo" aria-label="MetaCPAN">
                  <use class="logo" href="/static/images/metacpan-logo.svg#dots" />
                </svg>
              </a>
            </div>
            <ul class="nav navbar-nav menu-items hidden-xs hidden-sm">
              <li><a href="https://metacpan.org/about">About</a></li>
              <li><a href="https://metacpan.org/about/sponsors">Sponsor</a></li>
              <li><a href="https://grep.metacpan.org/">grep::cpan</a></li>
              <li><a href="https://metacpan.org/recent">Recent</a></li>
              <li><a href="https://metacpan.org/about/faq">FAQ</a></li>
              <li><a href="https://metacpan.org/tools">Tools</a></li>
              <li><a href="https://fastapi.metacpan.org/">API</a></li>
            </ul>
            <ul class="nav navbar-nav navbar-right">
                <button type="button" class="searchbar-btn visible-xs visible-sm">
                    <i class="fa fa-search button-fa-icon"></i>
                </button>
                <form action="https://metacpan.org/search" class="searchbar-form visible-md visible-lg search-form form-horizontal">
                   <input type="hidden" name="size" id="metacpan_search-size" value="20">
                  <div class="form-group">
                      <div class="search-group">
                        <i class="fa fa-search"></i>
                        <input type="text" name="q" placeholder="Search the CPAN" size="41" autocorrect="off" autocapitalize="off" spellcheck="false" id="metacpan_search-input" class="form-control" value="">
                      </div>
                  </div>
                </form>
                    <li class="icon-slidepanel visible-xs visible-sm">
                      <button data-toggle="slidepanel" data-target=".slidepanel">
                        <span class="button-fa-icon">
                          <i class="fa fa-bars slidepanel-open"></i>
                          <i class="fa fa-times slidepanel-close"></i>
                        </span>
                      </button>
                    </li>
                <form action="https://metacpan.org/account/logout" method="POST" id="metacpan-logout"></form>
                <li class="dropdown logged_in" style="display: none;">
                    <button type="button" class="dropdown-toggle" data-toggle="dropdown">
                      <i class="fa fa-user button-fa-icon logged-in-icon" aria-hidden="true"></i>
                      <i class="fas fa-chevron-down"></i>
                    </button>
                    <ul class="dropdown-menu">
                        <li><a href="https://metacpan.org/account/identities">Identities</a></li>
                        <li><a href="https://metacpan.org/account/profile">Profile</a></li>
                        <li><a href="https://metacpan.org/account/favorite/list">Favorites</a></li>
                        <li>
                            <a href="./Date::ICal.html#" type="button" onclick="$('#metacpan-logout').submit(); return false">
                              Logout
                            </a>
                        </li>
                    </ul>
                </li>
                <li class="dropdown logged_out" style="display: none;">
                    <button type="button" class="dropdown-toggle" data-toggle="dropdown">
                      <i class="fa fa-user button-fa-icon" aria-hidden="true"></i>
                      <i class="fas fa-chevron-down"></i>
                    </button>
                    <ul class="dropdown-menu">
                        <li>
                            <a href="https://metacpan.org/login/github">
                                <i class="fab fa-github fa-fw"></i>
                                GitHub
                            </a>
                        </li>
                        <li>
                            <a href="https://metacpan.org/login/twitter">
                                <i class="fab fa-twitter fa-fw"></i>
                                Twitter
                            </a>
                        </li>
                        <li>
                            <a href="https://metacpan.org/login/google">
                                <i class="fab fa-google fa-fw"></i>
                                Google
                            </a>
                        </li>
                    </ul>
                </li>
                <li class="dropdown logged_placeholder">
                    <button>
                      <i class="fa fa-user button-fa-icon" aria-hidden="true"></i>
                    </button>
                </li>
            </ul>
        </nav>
        <div class="page-content ">
          <!--
          <div class="top-notify-banner">
            <i class="fas fa-info-circle"></i>
          </div>
          -->
          <nav class="sidebar">
            <div class="slidepanel">
              <ul class="nav-list ">
    <li class="nav-header no-margin-top">
      <div class="ttip" data-toggle="tooltip" data-placement="bottom" title="The date that this version of Date-ICal was released.">
      <span class="relatize">24 May 2023 14:54:29 UTC</span>
    </li>
  <li>
    Distribution: <a href="https://metacpan.org/dist/Date-ICal">Date-ICal</a>
  </li>
  <li>
    Module version: 2.682
  </li>
  <li>
    <a data-keyboard-shortcut="g s" href="https://metacpan.org/dist/Date-ICal/source/lib/Date/ICal.pm">Source</a>
    (<a href="https://metacpan.org/dist/Date-ICal/source/lib/Date/ICal.pm?raw=1">raw</a>)
  </li>
  <li>
    <a data-keyboard-shortcut="g b" href="https://metacpan.org/dist/Date-ICal/source/lib/Date">Browse</a>
    (<a href="https://metacpan.org/dist/Date-ICal/source/lib/Date?raw=1">raw</a>)
  </li>
    <li>
      <a data-keyboard-shortcut="g c" href="https://metacpan.org/dist/Date-ICal/changes">Changes</a>
    </li>
    <li>
      <a class="nopopup" href="https://metacpan.org/dist/Date-ICal/contribute">How to Contribute</a>
    </li>
    <li>
        <a rel="noopener nofollow" data-keyboard-shortcut="g r" href="https://github.com/michal-josef-spacek/Date-ICal">Repository</a>
    </li>
    <li>
      <a rel="noopener nofollow" data-keyboard-shortcut="g i" href="https://github.com/michal-josef-spacek/Date-ICal/issues">Issues</a>
    </li>
    <li>
      <a rel="noopener nofollow" href="http://matrix.cpantesters.org/?dist=Date-ICal+2.682" title="Matrix">Testers</a>
        <span title="(pass / fail / na)">(<a rel="noopener nofollow" href="https://www.cpantesters.org/distro/D/Date-ICal.html?oncpan=1&amp;distmat=1&amp;version=2.682&amp;grade=2" style="color: #090">329</a> / <a rel="noopener nofollow" href="https://www.cpantesters.org/distro/D/Date-ICal.html?oncpan=1&amp;distmat=1&amp;version=2.682&amp;grade=3" style="color: #900">0</a> / <a rel="noopener nofollow" href="https://www.cpantesters.org/distro/D/Date-ICal.html?oncpan=1&amp;distmat=1&amp;version=2.682&amp;grade=4">0</a>)</span>
    </li>
    <li>
      <a rel="noopener nofollow" href="http://cpants.cpanauthors.org/release/SKIM/Date-ICal-2.682">Kwalitee</a>
    </li>
    <li>
      <div class="ttip" data-toggle="tooltip" data-placement="bottom" title="The # people with an indexing permission on Date-ICal who have released something to CPAN in the last 2 years (i.e. the # people likely able to release critical fixes in a timely manner)">
      Bus factor: 1
      </div>
    </li>
    <li>
      <a rel="noopener nofollow" href="http://cpancover.com/latest/Date-ICal-2.682/index.html">85.34% Coverage </a>
    </li>
    <li>
      License: perl_5
    </li>
    <li>
      Perl: v5.6.0
    </li>
    <li class="nav-header">Activity</li>
    <li>
<div class="activity-graph">
    <img src="https://metacpan.org/dist/Date-ICal/activity.svg?res=month" />
    <div class="comment">24 month</div>
</div>
    </li>
    <li class="nav-header">Tools</li>
    <li>
      <a itemprop="downloadUrl" href="https://cpan.metacpan.org/authors/id/S/SK/SKIM/Date-ICal-2.682.tar.gz">
      Download (<span itemprop="fileSize">42.83KB</span>)</a>
    </li>
    <li>
      <a href="https://explorer.metacpan.org/?url=%2Fmodule%2FSKIM%2FDate-ICal-2.682%2Flib%2FDate%2FICal.pm">
        MetaCPAN Explorer
      </a>
    </li>
    <li>
      <a href="https://metacpan.org/dist/Date-ICal/permissions">
        Permissions
      </a>
    </li>
    <li>
      <a href="https://metacpan.org/dist/Date-ICal/releases.rss">
        Subscribe to distribution
      </a>
    </li>
    <li>
      <button class="btn btn-link" data-toggle="modal" data-target="#metacpan_install-instructions-dialog">
        Install Instructions
      </button>
    </li>
    <li>
      <form action="https://metacpan.org/search">
        <input type="hidden" name="q" value="dist:Date-ICal">
        <input type="search" name="q" placeholder="Search distribution" class="form-control tool-bar-form">
        <input type="submit" style="display: none">
      </form>
    </li>
    <li>
      <form action="https://grep.metacpan.org/search">
        <input type="hidden" name="qd" value="Date-ICal">
        <input type="hidden" name="source" value="metacpan">
        <input type="search" name="q" placeholder="grep distribution" class="form-control tool-bar-form">
        <input type="submit" style="display: none">
     </form>
    </li>
    <li class="version-jump">
<select onchange="document.location.href=&#39;/release/&#39;+this.value+&#39;/view/lib/Date/ICal.pm&#39;" class="form-control tool-bar-form">
  <option disabled selected>Jump to version</option>
<option
  disabled
  value="SKIM/Date-ICal-2.682"
>2.682
  (SKIM on 2023-05-24)</option>
<option
  
  value="SKIM/Date-ICal-2.681"
>2.681
  (SKIM on 2023-05-18)</option>
<option
  
  value="SKIM/Date-ICal-2.680"
>2.680
  (SKIM on 2023-04-04)</option>
<option
  
  value="SKIM/Date-ICal-2.679"
>2.679
  (SKIM on 2022-09-07)</option>
<option
  
  value="RBOW/Date-ICal-2.678"
>2.678
  (RBOW on 2011-07-05)</option>
<option
  
  value="RBOW/Date-ICal-1.72"
>1.72
  (RBOW on 2003-01-19)</option>
<optgroup label="BackPAN">'
<option
  
  value="RBOW/Date-ICal-2.649"
>2.649
  (RBOW on 2011-05-12)</option>
<option
  
  value="RBOW/Date-ICal-2.647"
>2.647
  (RBOW on 2011-05-10)</option>
<option
  
  value="RBOW/Date-ICal-1.366"
>1.366
  (RBOW on 2009-08-19)</option>
<option
  
  value="RBOW/Date-ICal-1.70"
>1.70
  (RBOW on 2002-06-27)</option>
<option
  
  value="RBOW/Date-ICal-1.69"
>1.69
  (RBOW on 2002-02-07)</option>
<option
  
  value="RBOW/Date-ICal-1.68"
>1.68
  (RBOW on 2002-01-28)</option>
<option
  
  value="RBOW/Date-ICal-1.67"
>1.67
  (RBOW on 2001-12-28)</option>
<option
  
  value="RBOW/Date-ICal-1.66"
>1.66
  (RBOW on 2001-12-27)</option>
<option
  
  value="RBOW/Date-ICal-1.61"
>1.61
  (RBOW on 2001-12-18)</option>
<option
  
  value="RBOW/Date-ICal-1.57"
>1.57
  (RBOW on 2001-12-11)</option>
<option
  
  value="RBOW/Date-ICal-1.55"
>1.55
  (RBOW on 2001-11-28)</option>
<option
  
  value="RBOW/Date-ICal-1.54"
>1.54
  (RBOW on 2001-11-24)</option>
<option
  
  value="RBOW/Date-ICal-1.53"
>1.53
  (RBOW on 2001-11-24)</option>
<option
  
  value="RBOW/Date-ICal-1.49"
>1.49
  (RBOW on 2001-11-23)</option>
<option
  
  value="RBOW/Date-ICal-1.33"
>1.33
  (RBOW on 2001-08-25)</option>
<option
  
  value="RBOW/Date-ICal-1.31"
>1.31
  (RBOW on 2001-08-07)</option>
<option
  
  value="RBOW/Date-ICal-1.29"
>1.29
  (RBOW on 2001-08-07)</option>
<option
  
  value="RBOW/Date-ICal-1.28"
>1.28
  (RBOW on 2001-08-06)</option>
<option
  
  value="RBOW/Date-ICal-1.27"
>1.27
  (RBOW on 2001-08-02)</option>
<option
  
  value="RBOW/Date-ICal-1.25"
>1.25
  (RBOW on 2001-08-01)</option>
<option
  
  value="RBOW/Date-ICal-1.23"
>1.23
  (RBOW on 2001-07-27)</option>
<option
  
  value="RBOW/Date-ICal-1.22"
>1.22
  (RBOW on 2001-07-26)</option>
<option
  
  value="RBOW/Date-ICal-1.20"
>1.20
  (RBOW on 2001-07-25)</option>
<option
  
  value="RBOW/Date-ICal-1.18_01"
>1.18_01 DEV
  (RBOW on 2001-07-24)</option>
<option
  
  value="RBOW/Date-ICal-1.15"
>1.15
  (RBOW on 2001-07-07)</option>
<option
  
  value="RBOW/Date-ICal-1.14"
>1.14
  (RBOW on 2001-06-27)</option>
<option
  
  value="RBOW/Date-ICal-1.11"
>1.11
  (RBOW on 2001-06-08)</option>
<option
  
  value="RBOW/Date-ICal-1.10"
>1.10
  (RBOW on 2001-05-31)</option>
</optgroup>
</select>
    </li>
    <li class="version-diff">
<select onchange="document.location.href='/release/SKIM/Date-ICal-2.682/diff/' + encodeURIComponent(this.value) + '/lib/Date/ICal.pm'
" class="form-control tool-bar-form">
  <option disabled selected>Diff with version</option>
<option
  disabled
  value="SKIM/Date-ICal-2.682"
>2.682
  (SKIM on 2023-05-24)</option>
<option
  
  value="SKIM/Date-ICal-2.681"
>2.681
  (SKIM on 2023-05-18)</option>
<option
  
  value="SKIM/Date-ICal-2.680"
>2.680
  (SKIM on 2023-04-04)</option>
<option
  
  value="SKIM/Date-ICal-2.679"
>2.679
  (SKIM on 2022-09-07)</option>
<option
  
  value="RBOW/Date-ICal-2.678"
>2.678
  (RBOW on 2011-07-05)</option>
<option
  
  value="RBOW/Date-ICal-1.72"
>1.72
  (RBOW on 2003-01-19)</option>
<optgroup label="BackPAN">'
<option
  
  value="RBOW/Date-ICal-2.649"
>2.649
  (RBOW on 2011-05-12)</option>
<option
  
  value="RBOW/Date-ICal-2.647"
>2.647
  (RBOW on 2011-05-10)</option>
<option
  
  value="RBOW/Date-ICal-1.366"
>1.366
  (RBOW on 2009-08-19)</option>
<option
  
  value="RBOW/Date-ICal-1.70"
>1.70
  (RBOW on 2002-06-27)</option>
<option
  
  value="RBOW/Date-ICal-1.69"
>1.69
  (RBOW on 2002-02-07)</option>
<option
  
  value="RBOW/Date-ICal-1.68"
>1.68
  (RBOW on 2002-01-28)</option>
<option
  
  value="RBOW/Date-ICal-1.67"
>1.67
  (RBOW on 2001-12-28)</option>
<option
  
  value="RBOW/Date-ICal-1.66"
>1.66
  (RBOW on 2001-12-27)</option>
<option
  
  value="RBOW/Date-ICal-1.61"
>1.61
  (RBOW on 2001-12-18)</option>
<option
  
  value="RBOW/Date-ICal-1.57"
>1.57
  (RBOW on 2001-12-11)</option>
<option
  
  value="RBOW/Date-ICal-1.55"
>1.55
  (RBOW on 2001-11-28)</option>
<option
  
  value="RBOW/Date-ICal-1.54"
>1.54
  (RBOW on 2001-11-24)</option>
<option
  
  value="RBOW/Date-ICal-1.53"
>1.53
  (RBOW on 2001-11-24)</option>
<option
  
  value="RBOW/Date-ICal-1.49"
>1.49
  (RBOW on 2001-11-23)</option>
<option
  
  value="RBOW/Date-ICal-1.33"
>1.33
  (RBOW on 2001-08-25)</option>
<option
  
  value="RBOW/Date-ICal-1.31"
>1.31
  (RBOW on 2001-08-07)</option>
<option
  
  value="RBOW/Date-ICal-1.29"
>1.29
  (RBOW on 2001-08-07)</option>
<option
  
  value="RBOW/Date-ICal-1.28"
>1.28
  (RBOW on 2001-08-06)</option>
<option
  
  value="RBOW/Date-ICal-1.27"
>1.27
  (RBOW on 2001-08-02)</option>
<option
  
  value="RBOW/Date-ICal-1.25"
>1.25
  (RBOW on 2001-08-01)</option>
<option
  
  value="RBOW/Date-ICal-1.23"
>1.23
  (RBOW on 2001-07-27)</option>
<option
  
  value="RBOW/Date-ICal-1.22"
>1.22
  (RBOW on 2001-07-26)</option>
<option
  
  value="RBOW/Date-ICal-1.20"
>1.20
  (RBOW on 2001-07-25)</option>
<option
  
  value="RBOW/Date-ICal-1.18_01"
>1.18_01 DEV
  (RBOW on 2001-07-24)</option>
<option
  
  value="RBOW/Date-ICal-1.15"
>1.15
  (RBOW on 2001-07-07)</option>
<option
  
  value="RBOW/Date-ICal-1.14"
>1.14
  (RBOW on 2001-06-27)</option>
<option
  
  value="RBOW/Date-ICal-1.11"
>1.11
  (RBOW on 2001-06-08)</option>
<option
  
  value="RBOW/Date-ICal-1.10"
>1.10
  (RBOW on 2001-05-31)</option>
</optgroup>
</select>
    </li>

    <li>
<ul class="dependencies">
  <li class="nav-header">Dependencies</li>
  <li><a href="https://metacpan.org/pod/Date::Leapyear" title="Date::Leapyear" class="ellipsis">Date::Leapyear</a></li>
  <li><a href="https://metacpan.org/pod/Storable" title="Storable" class="ellipsis">Storable</a></li>
  <li><a href="https://metacpan.org/pod/Test::Harness" title="Test::Harness" class="ellipsis">Test::Harness</a></li>
  <li><a href="https://metacpan.org/pod/Test::More" title="Test::More" class="ellipsis">Test::More</a></li>
  <li><a href="https://metacpan.org/pod/Time::HiRes" title="Time::HiRes" class="ellipsis">Time::HiRes</a></li>
  <li><a href="https://metacpan.org/pod/Time::Local" title="Time::Local" class="ellipsis">Time::Local</a></li>
  <li><i class="ttip" title="dynamic_config enabled">and possibly others</i></li>
  <li>
    <hr>
  </li>
  <li>
    <a href="https://metacpan.org/module/Date::ICal/requires">Reverse dependencies</a>
  </li>
  <li>
    <a href="http://deps.cpantesters.org/?module=Date%3A%3AICal">CPAN Testers List</a>
  </li>
  <li>
    <a href="https://cpandeps.grinnz.com/?dist=Date-ICal">Dependency graph</a>
  </li>
</ul>
    </li>
    <li class="nav-header">Permalinks</li>
    <li>
      <a href="https://metacpan.org/release/SKIM/Date-ICal-2.682/view/lib/Date/ICal.pm">This version</a>
    </li>
    <li>
      <a href="./Date::ICal.html">Latest version</a>
    </li>
    <li>
<div class="plussers">
<div class="nav-header">++ed by:</div>
<div>
<a class="display-all" href="https://metacpan.org/author/RWP"><img src="https://www.gravatar.com/avatar/7110eb2389e69a066d9d7cad7a1cc2bf?d=identicon&amp;s=20" title="RWP" alt="RWP"></a>
</div>
<!-- Display counts of plussers-->
<div>
    <a href="https://metacpan.org/dist/Date-ICal/plussers">1 PAUSE user</a>
</div>
<div>
    1 non-PAUSE user
</div>
</div>
    </li>
    <li>
<div id="metacpan_contributors">
  <div>
    <button class="btn-link"
      onclick="$(this).hide(); $('#metacpan_contributors ul').slideDown(); return false;"
    >and 1 contributors</button>
  </div>
  <ul style="display: none">
    <li class="contributor"
      data-cpan-author="RBOW"
      data-contrib-email="rbow@cpan.org"
    >
      <a href="https://metacpan.org/author/RBOW" class="cpan-author">
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/eb8857fc25d7b4444f3628ed6e05760b?d=identicon&amp;s=20" />
      Rich Bowen
      </a>
    </li>
  </ul>
</div>
    </li>
              </ul>
            </div>
          </nav>
          <div class="content-navigation">
<div class="breadcrumbs">
  <span>
    <a data-keyboard-shortcut="g a" rel="author" href="https://metacpan.org/author/SKIM" class="author-name">Michal Josef Špaček</a>
  </span>
  <span>&nbsp;/&nbsp;</span>
  <div class="release dist-release status-latest maturity-released">
    <span class="dropdown"><b class="caret"></b></span>
<select onchange="document.location.href=&#39;/release/&#39;+this.value+&#39;/view/lib/Date/ICal.pm&#39;" class="">
<option
  selected
  value="SKIM/Date-ICal-2.682"
>2.682
  (SKIM on 2023-05-24)</option>
<option
  
  value="SKIM/Date-ICal-2.681"
>2.681
  (SKIM on 2023-05-18)</option>
<option
  
  value="SKIM/Date-ICal-2.680"
>2.680
  (SKIM on 2023-04-04)</option>
<option
  
  value="SKIM/Date-ICal-2.679"
>2.679
  (SKIM on 2022-09-07)</option>
<option
  
  value="RBOW/Date-ICal-2.678"
>2.678
  (RBOW on 2011-07-05)</option>
<option
  
  value="RBOW/Date-ICal-1.72"
>1.72
  (RBOW on 2003-01-19)</option>
<optgroup label="BackPAN">'
<option
  
  value="RBOW/Date-ICal-2.649"
>2.649
  (RBOW on 2011-05-12)</option>
<option
  
  value="RBOW/Date-ICal-2.647"
>2.647
  (RBOW on 2011-05-10)</option>
<option
  
  value="RBOW/Date-ICal-1.366"
>1.366
  (RBOW on 2009-08-19)</option>
<option
  
  value="RBOW/Date-ICal-1.70"
>1.70
  (RBOW on 2002-06-27)</option>
<option
  
  value="RBOW/Date-ICal-1.69"
>1.69
  (RBOW on 2002-02-07)</option>
<option
  
  value="RBOW/Date-ICal-1.68"
>1.68
  (RBOW on 2002-01-28)</option>
<option
  
  value="RBOW/Date-ICal-1.67"
>1.67
  (RBOW on 2001-12-28)</option>
<option
  
  value="RBOW/Date-ICal-1.66"
>1.66
  (RBOW on 2001-12-27)</option>
<option
  
  value="RBOW/Date-ICal-1.61"
>1.61
  (RBOW on 2001-12-18)</option>
<option
  
  value="RBOW/Date-ICal-1.57"
>1.57
  (RBOW on 2001-12-11)</option>
<option
  
  value="RBOW/Date-ICal-1.55"
>1.55
  (RBOW on 2001-11-28)</option>
<option
  
  value="RBOW/Date-ICal-1.54"
>1.54
  (RBOW on 2001-11-24)</option>
<option
  
  value="RBOW/Date-ICal-1.53"
>1.53
  (RBOW on 2001-11-24)</option>
<option
  
  value="RBOW/Date-ICal-1.49"
>1.49
  (RBOW on 2001-11-23)</option>
<option
  
  value="RBOW/Date-ICal-1.33"
>1.33
  (RBOW on 2001-08-25)</option>
<option
  
  value="RBOW/Date-ICal-1.31"
>1.31
  (RBOW on 2001-08-07)</option>
<option
  
  value="RBOW/Date-ICal-1.29"
>1.29
  (RBOW on 2001-08-07)</option>
<option
  
  value="RBOW/Date-ICal-1.28"
>1.28
  (RBOW on 2001-08-06)</option>
<option
  
  value="RBOW/Date-ICal-1.27"
>1.27
  (RBOW on 2001-08-02)</option>
<option
  
  value="RBOW/Date-ICal-1.25"
>1.25
  (RBOW on 2001-08-01)</option>
<option
  
  value="RBOW/Date-ICal-1.23"
>1.23
  (RBOW on 2001-07-27)</option>
<option
  
  value="RBOW/Date-ICal-1.22"
>1.22
  (RBOW on 2001-07-26)</option>
<option
  
  value="RBOW/Date-ICal-1.20"
>1.20
  (RBOW on 2001-07-25)</option>
<option
  
  value="RBOW/Date-ICal-1.18_01"
>1.18_01 DEV
  (RBOW on 2001-07-24)</option>
<option
  
  value="RBOW/Date-ICal-1.15"
>1.15
  (RBOW on 2001-07-07)</option>
<option
  
  value="RBOW/Date-ICal-1.14"
>1.14
  (RBOW on 2001-06-27)</option>
<option
  
  value="RBOW/Date-ICal-1.11"
>1.11
  (RBOW on 2001-06-08)</option>
<option
  
  value="RBOW/Date-ICal-1.10"
>1.10
  (RBOW on 2001-05-31)</option>
</optgroup>
</select>
    <a data-keyboard-shortcut="g d" class="release-name" href="https://metacpan.org/dist/Date-ICal">Date-ICal-2.682</a>
  </div>
<span class="river-gauge-gauge">
  <svg width="24px"
       height="15px"
       version="1.1"
       xmlns="http://www.w3.org/2000/svg"
       xmlns:xlink="http://www.w3.org/1999/xlink">

    <g>
      <title>        River stage one &#10;
          • 4 direct dependents &#10;          • 5 total dependents
      </title>

      <rect x="0"  y="0" width="4" height="15" fill="#7ea3f2" />
      <rect x="5"  y="0" width="4" height="15" fill="#e4e2e2" />
      <rect x="10"  y="0" width="4" height="15" fill="#e4e2e2" />
      <rect x="15"  y="0" width="4" height="15" fill="#e4e2e2" />
      <rect x="20"  y="0" width="4" height="15" fill="#e4e2e2" />
    </g>
  </svg>

</span>
<div id="Date-ICal-fav" class="logged_in">
<form action="https://metacpan.org/account/favorite/add" style="display: inline" onsubmit="return favDistribution(this)">
    <input type="hidden" name="remove" value="0">
    <input type="hidden" name="release" value="Date-ICal-2.682">
    <input type="hidden" name="author" value="SKIM">
    <input type="hidden" name="distribution" value="Date-ICal">
    <button type="submit" class="favorite highlight"><span>2</span> ++</button>
</form>
</div>
<div class="logged_out">
<a href="./Date::ICal.html" onclick="alert('Please sign in to add favorites'); return false" class="favorite highlight">
<span>2</span> ++</a>
</div>
   / <span>Date::ICal</span>
</div>
          </div>
          <main class="content">


<nav class="toc">
  <div class="toc-header"><strong>Contents</strong></div>
<ul>
  <li><a href="./Date::ICal.html#NAME">NAME</a></li>
  <li><a href="./Date::ICal.html#VERSION">VERSION</a></li>
  <li><a href="./Date::ICal.html#SYNOPSIS">SYNOPSIS</a></li>
  <li><a href="./Date::ICal.html#DESCRIPTION">DESCRIPTION</a></li>
  <li><a href="./Date::ICal.html#AUTHOR">AUTHOR</a></li>
  <li><a href="./Date::ICal.html#METHODS">METHODS</a>
    <ul>
      <li><a href="./Date::ICal.html#new">new</a></li>
      <li><a href="./Date::ICal.html#ical">ical</a></li>
      <li><a href="./Date::ICal.html#epoch">epoch</a></li>
      <li><a href="./Date::ICal.html#offset_to_seconds">offset_to_seconds</a></li>
      <li><a href="./Date::ICal.html#offset_from_seconds">offset_from_seconds</a></li>
      <li><a href="./Date::ICal.html#offset">offset</a></li>
      <li><a href="./Date::ICal.html#add">add</a></li>
      <li><a href="./Date::ICal.html#add_overload">add_overload</a></li>
      <li><a href="./Date::ICal.html#duration_value">duration_value</a></li>
      <li><a href="./Date::ICal.html#subtract">subtract</a></li>
      <li><a href="./Date::ICal.html#clone">clone</a></li>
      <li><a href="./Date::ICal.html#compare">compare</a></li>
      <li><a href="./Date::ICal.html#day">day</a></li>
      <li><a href="./Date::ICal.html#month">month</a></li>
      <li><a href="./Date::ICal.html#year">year</a></li>
      <li><a href="./Date::ICal.html#jd2greg">jd2greg</a></li>
      <li><a href="./Date::ICal.html#greg2jd">greg2jd</a></li>
      <li><a href="./Date::ICal.html#days_this_year">days_this_year</a></li>
      <li><a href="./Date::ICal.html#day_of_week">day_of_week</a></li>
      <li><a href="./Date::ICal.html#hour">hour</a></li>
      <li><a href="./Date::ICal.html#min">min</a></li>
      <li><a href="./Date::ICal.html#sec">sec</a></li>
      <li><a href="./Date::ICal.html#julian">julian</a></li>
    </ul>
  </li>
  <li><a href="./Date::ICal.html#TODO">TODO</a></li>
  <li><a href="./Date::ICal.html#INTERNALS">INTERNALS</a></li>
  <li><a href="./Date::ICal.html#AUTHOR1">AUTHOR</a></li>
  <li><a href="./Date::ICal.html#LICENSE-AND-COPYRIGHT">LICENSE AND COPYRIGHT</a></li>
  <li><a href="./Date::ICal.html#SEE-ALSO">SEE ALSO</a></li>
</ul></nav>
<div class="pod anchors">
<h1 id="NAME">NAME</h1>

<p>Date::ICal - Perl extension for ICalendar date objects.</p>

<h1 id="VERSION">VERSION</h1>

<p>$Revision: 682 $</p>

<h1 id="SYNOPSIS">SYNOPSIS</h1>

<pre><code>    use Date::ICal;

    $ical = Date::ICal-&gt;new( ical =&gt; &#39;19971024T120000&#39; );
    $ical = Date::ICal-&gt;new( epoch =&gt; time );
    $ical = Date::ICal-&gt;new( year =&gt; 1964,
        month =&gt; 10, day =&gt; 16, hour =&gt; 16,
        min =&gt; 12, sec =&gt; 47 );

    $hour = $ical-&gt;hour;
    $year = $ical-&gt;year;

    $ical_string = $ical-&gt;ical;
    $epoch_time = $ical-&gt;epoch;

    $ical2 = $ical + $duration;</code></pre>

<p>(Where $duration is either a duration string, like &#39;P2W3DT7H9M&#39;, or a Date::ICal::Duration (qv) object.</p>

<pre><code>    $ical += &#39;P6DT12H&#39;;

    $duration = $ical - $ical2;
    $ical3 = $ical - $duration;</code></pre>

<h1 id="DESCRIPTION">DESCRIPTION</h1>

<p>Date::ICal talks the ICal date format, and is intended to be a base class for other date/calendar modules that know about ICal time format also.</p>

<h1 id="AUTHOR">AUTHOR</h1>

<p>Rich Bowen, and the Reefknot team. Alas, Reefknot is no more. See <a href="https://github.com/houseabsolute/DateTime.pm/wiki">https://github.com/houseabsolute/DateTime.pm/wiki</a> for more modern and accurate modules.</p>

<p>Last touched by $Author: michal-josef-spacek $</p>

<h1 id="METHODS">METHODS</h1>

<p>Date::ICal has the following methods available:</p>

<h2 id="new">new</h2>

<p>A new Date::ICal object can be created with any valid ICal string:</p>

<pre><code>    my $ical = Date::ICal-&gt;new( ical =&gt; &#39;19971024T120000&#39; );
    # will default to the timezone specified in $TZ, see below</code></pre>

<p>Or with any epoch time:</p>

<pre><code>    my $ical = Date::ICal-&gt;new( epoch =&gt; time );</code></pre>

<p>Or, better still, create it with components</p>

<pre><code>    my $date = Date::ICal-&gt;new( 
                           day =&gt; 25, 
                           month =&gt; 10, 
                           year =&gt; 1066,
                           hour =&gt; 7,
                           min =&gt; 15,
                           sec =&gt; 47
                           );</code></pre>

<p>If you call new without any arguments, you&#39;ll get a Date::ICal object that is set to the time right now.</p>

<pre><code>    my $ical = Date::ICal-&gt;new();</code></pre>

<p>If you already have an object in Date::ICal, or some other subclass thereof, you can create a new Date::ICal (or subclass) object using that object to start with. This is particularly useful for converting from one calendar to another:</p>

<pre><code>   # Direct conversion from Discordian to ISO dates
   my $disco = Date::Discordian-&gt;new( disco =&gt; &#39;12 Chaos, YOLD 3177&#39; );
   my $iso = Date::ISO-&gt;new( $disco );
   print $iso-&gt;iso;</code></pre>

<p>new() handles timezones. It defaults times to UTC (Greenwich Mean Time, also called Zulu). If you want to set up a time that&#39;s in the US &quot;Pacific&quot; timezone, which is GMT-8, use something like:</p>

<pre><code>    my $ical = Date::ICal-&gt;new( ical =&gt; &#39;19971024T120000&#39;,
                                offset =&gt; &quot;-0800&quot;);
   </code></pre>

<p>Note that as of version 1.44, new() tries to be intelligent about figuring out your local time zone. If you enter a time that&#39;s not *explicitly* in UTC, it looks at the environment variable $TZ, if it exists, to determine your local offset. If $TZ isn&#39;t set, new() will complain.</p>

<h2 id="ical">ical</h2>

<pre><code>    $ical_string = $ical-&gt;ical;</code></pre>

<p>Retrieves, or sets, the date on the object, using any valid ICal date/time string. Output is in UTC (ends with a &quot;Z&quot;) by default. To get output in localtime relative to the current machine, do:</p>

<pre><code>    $ical_string = $ical-&gt;ical( localtime =&gt; 1 );</code></pre>

<p>To get output relative to an arbitrary offset, do:</p>

<pre><code>    $ical_string = $ical-&gt;ical( offset =&gt; &#39;+0545&#39; );</code></pre>

<h2 id="epoch">epoch</h2>

<pre><code>    $epoch_time = $ical-&gt;epoch;
    
    $ical-&gt;epoch( 98687431 );</code></pre>

<p>Sets, or retrieves, the epoch time represented by the object, if it is representable as such. (Dates before 1971 or after 2038 will not have an epoch representation.)</p>

<p>Internals note: The ICal representation of the date is considered the only authoritative one. This means that we may need to reconstruct the epoch time from the ICal representation if we are not sure that they are in synch. We&#39;ll need to do clever things to keep track of when the two may not be in synch. And, of course, the same will go for any subclasses of this class.</p>

<h2 id="offset_to_seconds">offset_to_seconds</h2>

<pre><code>    $seconds_plus_or_minus = offset_to_seconds($offset);
   </code></pre>

<p>Changes -0600 to -21600. Not object method, no side-effects.</p>

<h2 id="offset_from_seconds">offset_from_seconds</h2>

<pre><code>    $seconds_plus_or_minus = offset_from_seconds($offset_in_seconds);
   </code></pre>

<p>Changes -18000 (seconds) to -0600 (hours, minutes). Not object method, no side-effects.</p>

<h2 id="offset">offset</h2>

<pre><code>    $offset = $ical-&gt;offset;
   
    # We need tests for these.  
    $ical-&gt;offset( &#39;+1100&#39; ); # a number of hours and minutes: UTC+11
    $ical-&gt;offset( 0 );       # reset to UTC</code></pre>

<p>Sets or retrieves the offset from UTC for this time. This allows timezone support, assuming you know what your local (or non-local) UTC offset is. Defaults to 0.</p>

<p>Internals note: all times are internally stored in UTC, even though they may have some offset information. Offsets are internally stored in signed integer seconds.</p>

<p>BE CAREFUL about using this function on objects that were initialized with an offset. If you started an object with:</p>

<pre><code>    my $d = new(ical=&gt;&#39;19700101120000&#39;, offset=&gt;&#39;+0100&#39;); </code></pre>

<p>and you then call:</p>

<pre><code>    $d-&gt;offset(&#39;+0200&#39;); 
    </code></pre>

<p>you&#39;ll be saying &quot;Yeah, I know I *said* it was in +0100, but really I want it to be in +0200 now and forever.&quot; Which may be your intention, if you&#39;re trying to transpose a whole set of dates to another timezone--- but you can also do that at the presentation level, with the ical() method. Either way will work.</p>

<h2 id="add">add</h2>

<pre><code>    $self-&gt;add( year =&gt; 3, month =&gt; 2, week =&gt; 1, day =&gt; 12,
                hour =&gt; 1, min =&gt; 34, sec =&gt; 59 );
    $date-&gt;add( duration =&gt; &#39;P1WT1H1M1S&#39; ); # add 1 wk, 1 hr, 1 min, and 1 sec</code></pre>

<p>Adds a duration to a Date::ICal object.</p>

<p>Supported paraters are: duration, eom_mode, year, month, week, day, hour, min, sec or seconds.</p>

<p>&#39;duration&#39; is a ICalendar duration string (see duration_value).</p>

<p>If a value is undefined or omitted, 1 is assumed:</p>

<pre><code>    $ical-&gt;add( &#39;min&#39; ); # add a minute</code></pre>

<p>The result will be normalized. That is, the output time will have meaningful values, rather than being 48:73 pm on the 34th of hexadecember.</p>

<p>Adding months or years can be done via three different methods, specified by the eom_mode parameter, which then applies to all additions (or subtractions) of months or years following it in the parameter list.</p>

<p>The default, eom_mode =&gt; &#39;wrap&#39;, means adding months or years that result in days beyond the end of the new month will roll over into the following month. For instance, adding one year to Feb 29 will result in Mar 1.</p>

<p>If you specify eom_mode =&gt; &#39;limit&#39;, the end of the month is never crossed. Thus, adding one year to Feb 29, 2000 will result in Feb 28, 2001. However, adding three more years will result in Feb 28, 2004, not Feb 29.</p>

<p>If you specify eom_mode =&gt; &#39;preserve&#39;, the same calculation is done as for &#39;limit&#39; except that if the original date is at the end of the month the new date will also be. For instance, adding one month to Feb 29, 2000 will result in Mar 31, 2000.</p>

<p>All additions are performed in the order specified. For instance, with the default setting of eom_mode =&gt; &#39;wrap&#39;, adding one day and one month to Feb 29 will result in Apr 1, while adding one month and one day will result in Mar 30.</p>

<h2 id="add_overload">add_overload</h2>

<pre><code>    $date = $date1 + $duration;</code></pre>

<p>Where $duration is either a duration string, or a Date::ICal::Duration object.</p>

<pre><code>    $date += &#39;P2DT4H7M&#39;;</code></pre>

<p>Adds a duration to a date object. Returns a new object, or, in the case of +=, modifies the existing object.</p>

<h2 id="duration_value">duration_value</h2>

<p>Given a duration string, this function returns the number of days, seconds, and months represented by that duration. In that order. Seems odd to me. This should be considered an internal function, and you should expect the API to change in the very near future.</p>

<h2 id="subtract">subtract</h2>

<pre><code>  $duration = $date1 - $date2;</code></pre>

<p>Subtract one Date::ICal object from another to give a duration - the length of the interval between the two dates. The return value is a Date::ICal::Duration object (qv) and allows you to get at each of the individual components, or the entire duration string:</p>

<pre><code>    $d = $date1 - $X;</code></pre>

<p>Note that $X can be any of the following:</p>

<p>If $X is another Date::ICal object (or subclass thereof) then $d will be a Date::ICal::Duration object.</p>

<pre><code>    $week = $d-&gt;weeks; # how many weeks apart?
    $days = $d-&gt;as_days; # How many days apart?</code></pre>

<p>If $X is a duration string, or a Date::ICal::Diration object, then $d will be an object in the same class as $date1;</p>

<pre><code>    $newdate = $date - $duration; </code></pre>

<h2 id="clone">clone</h2>

<pre><code>    $copy = $date-&gt;clone;</code></pre>

<p>Returns a replica of the date object, including all attributes.</p>

<h2 id="compare">compare</h2>

<pre><code>    $cmp = $date1-&gt;compare($date2);

    @dates = sort {$a-&gt;compare($b)} @dates;</code></pre>

<p>Compare two Date::ICal objects. Semantics are compatible with sort; returns -1 if $a &lt; $b, 0 if $a == $b, 1 if $a &gt; $b.</p>

<h2 id="day">day</h2>

<pre><code>    my $day = $date-&gt;day;</code></pre>

<p>Returns the day of the month.</p>

<p>Day is in the range 1..31</p>

<h2 id="month">month</h2>

<pre><code>    my $month = $date-&gt;month;</code></pre>

<p>Returns the month of the year.</p>

<p>Month is returned as a number in the range 1..12</p>

<h2 id="year">year</h2>

<pre><code>    my $year = $date-&gt;year;</code></pre>

<p>Returns the year.</p>

<h2 id="jd2greg">jd2greg</h2>

<pre><code>    ($year, $month, $day) = jd2greg( $jd );

    Convert number of days on or after Jan 1, 1 CE (Gregorian) to
    gregorian year,month,day.</code></pre>

<h2 id="greg2jd">greg2jd</h2>

<pre><code>    $jd = greg2jd( $year, $month, $day );

    Convert gregorian year,month,day to days on or after Jan 1, 1 CE
    (Gregorian).  Normalization is performed (e.g. month of 28 means
    April two years after given year) for month &lt; 1 or &gt; 12 or day &lt; 1
    or &gt; last day of month.</code></pre>

<h2 id="days_this_year">days_this_year</h2>

<pre><code>  $yday = Date::ICal::days_this_year($day, $month, $year);</code></pre>

<p>Returns the number of days so far this year. Analogous to the yday attribute of gmtime (or localtime) except that it works outside of the epoch.</p>

<h2 id="day_of_week">day_of_week</h2>

<pre><code>    my $day_of_week = $date-&gt;day_of_week</code></pre>

<p>Returns the day of week as 0..6 (0 is Sunday, 6 is Saturday).</p>

<h2 id="hour">hour</h2>

<pre><code>    my $hour = $date-&gt;hour</code></pre>

<p>Returns the hour of the day.</p>

<p>Hour is in the range 0..23</p>

<h2 id="min">min</h2>

<pre><code>    my $min = $date-&gt;min;</code></pre>

<p>Returns the minute.</p>

<p>Minute is in the range 0..59</p>

<h2 id="sec">sec</h2>

<pre><code>    my $sec = $date-&gt;sec;</code></pre>

<p>Returns the second.</p>

<p>Second is in the range 0..60. The value of 60 is (maybe) needed for leap seconds. But I&#39;m not sure if we&#39;re going to go there.</p>

<h2 id="julian">julian</h2>

<pre><code>  my $jd = $date-&gt;jd;</code></pre>

<p>Returns a listref, containing two elements. The date as a julian day, and the time as the number of seconds since midnight. This should not be thought of as a real julian day, because it&#39;s not. The module is internally consistent, and that&#39;s enough.</p>

<p>This method really only is here for compatibility with previous versions, as the jd method is now thrown over for plain hash references.</p>

<p>See the file INTERNALS for more information about this internal format.</p>

<h1 id="TODO">TODO</h1>

<dl>

<dt id="-add-gmtime-and-localtime-methods,-perhaps?"><a id="add-gmtime-and-localtime-methods--perhaps"></a>- add gmtime and localtime methods, perhaps?</dt>
<dd>

</dd>
<dt id="-Fix-the-INTERNALS-file-so-that-it-actually-reflects-reality"><a id="Fix-the-INTERNALS-file-so-that-it-actually-reflects-reality"></a>- Fix the INTERNALS file so that it actually reflects reality</dt>
<dd>

</dd>
</dl>

<h1 id="INTERNALS">INTERNALS</h1>

<p>Please see the file INTERNALS for discussion on the internals.</p>

<h1 id="AUTHOR1">AUTHOR</h1>

<p>Rich Bowen (DrBacchus) rbowen@rcbowen.com</p>

<p>And the rest of the Reefknot team. See the source for a full list of patch contributors and version-by-version notes.</p>

<h1 id="LICENSE-AND-COPYRIGHT"><a id="LICENSE"></a>LICENSE AND COPYRIGHT</h1>

<p>&copy; 2001-2022 Rich Bowen</p>

<p>&copy; 2022-2023 Michal Josef &Scaron;pa&#x10D;ek</p>

<p>This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.</p>

<h1 id="SEE-ALSO"><a id="SEE"></a>SEE ALSO</h1>

<p>datetime@perl.org mailing list</p>

<p><a href="https://github.com/houseabsolute/DateTime.pm/wiki">https://github.com/houseabsolute/DateTime.pm/wiki</a></p>

<p><a href="https://metacpan.org/pod/Time::Local">Time::Local</a></p>

<p><a href="https://metacpan.org/pod/Net::ICal">Net::ICal</a></p></div>

<div id="metacpan_install-instructions-dialog" class="modal fade">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
        <h4 class="modal-title">Module Install Instructions</h4>
      </div>
      <div class="modal-body">
        <p>To install Date::ICal, copy and paste the appropriate command in to your terminal.</p>
        <p><a href="https://metacpan.org/dist/App-cpanminus/view/bin/cpanm">cpanm</a></p>
        <pre><code>cpanm Date::ICal</code></pre>
        <p><a href="https://metacpan.org/pod/CPAN">CPAN shell</a></p>
        <pre><code>perl -MCPAN -e shell
install Date::ICal</code></pre>
        <p>For more information on module installation, please visit <a href="https://www.cpan.org/modules/INSTALL.html">the detailed CPAN module installation guide</a>.</p>
      </div>
      <div class="modal-footer">
        <a href="./Date::ICal.html#" data-dismiss="modal" class="btn">Close</a>
      </div>
    </div>
  </div>
</div>
          </main>
          <div class="content-pagination">
          </div>
        </div>
        <footer class="footer">
          <div class="footer-container">
            <div class="footer-social">
              <div class="footer-link footer-logo">
                <a href="https://metacpan.org/">
                  <img src="https://metacpan.org/static/images/metacpan-logo.svg" alt="MetaCPAN" />
                </a>
              </div>
              <a class="footer-social-link" href="https://github.com/metacpan">
                <i class="fab fa-github-square"></i>
              </a>
              <a class="footer-social-link" href="https://fosstodon.org/@metacpan">
                <i class="fab fa-mastodon"></i>
              </a>
            </div>
            <div class="footer-links">
              <div class="footer-link">
                  <a href="https://metacpan.org/about">About</a>
              </div>
              <div class="footer-link">
                  <a href="https://metacpan.org/about/sponsors">Sponsor</a>
              </div>
              <div class="footer-link">
                  <a href="https://grep.metacpan.org">grep::cpan</a>
              </div>
              <div class="footer-link">
                  <a href="https://metacpan.org/recent">Recent</a>
              </div>
              <div class="footer-link">
                  <a href="https://metacpan.org/about/faq">FAQ</a>
              </div>
              <div class="footer-link">
                  <a href="https://metacpan.org/tools">Tools</a>
              </div>
              <div class="footer-link">
                  <a href="https://fastapi.metacpan.org/">API</a>
              </div>
              <div class="footer-link">
                  <a href="https://www.perl.org/">Perl.org</a>
              </div>
            </div>
            <div class="footer-sponsors">
              <a class="footer-sponsor-link" target="_blank" href="https://www.bytemark.co.uk/" rel="noopener">
                <img class="footer-sponsor-bytemark" src="https://metacpan.org/static/images/sponsors/bytemark_logo.svg" alt="Bytemark logo">
              </a>
              <a class="footer-sponsor-link" target="_blank" href="https://www.liquidweb.com/" rel="noopener">
                <img class="footer-sponsor-liquidweb" src="https://metacpan.org/static/images/sponsors/liquidweb_logo.png" alt="liquidweb logo">
              </a>
              <a class="footer-sponsor-link" target="_blank" href="https://deriv.com/careers/" rel="noopener">
                <img class="footer-sponsor-deriv" src="https://metacpan.org/static/images/sponsors/deriv.svg" alt="Deriv logo">
              </a>
              <a class="footer-sponsor-link" target="_blank" href="https://geocode.xyz" rel="noopener">
                <img class="footer-sponsor-geocode" src="https://metacpan.org/static/images/sponsors/geocodelogo.svg" alt="Geocode logo">
              </a>
              <a class="footer-sponsor-link" target="_blank" href="https://www.fastly.com/" rel="noopener">
                <img class="footer-sponsor-fastly" src="https://metacpan.org/static/images/sponsors/fastly_logo.svg" alt="Fastly logo">
              </a>
              <a class="footer-sponsor-link" target="_blank" href="https://opencagedata.com" rel="noopener">
                <img class="footer-sponsor-opencage" src="https://metacpan.org/static/images/sponsors/open-cage.svg" alt="OpenCage logo">
              </a>
            </div>
          </div>
        </footer>
        <div class="modal fade" tabindex="-1" role="dialog" id="metacpan_keyboard-shortcuts">
          <div class="modal-dialog">
            <div class="modal-content">
              <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal">&times;</button>
                <h4 class="modal-title">Keyboard Shortcuts</h4>
              </div>
              <div class="modal-body row">
<div class="col-md-6">
  <table class="table keyboard-shortcuts">
    <thead>
      <tr>
        <th></th>
        <th>Global</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td class="keys">
          <kbd>s</kbd>
        </td>
        <td>Focus search bar</td>
      </tr>
      <tr>
        <td class="keys">
          <kbd>?</kbd>
        </td>
        <td>Bring up this help dialog</td>
      </tr>
    </tbody>
  </table>

  <table class="table keyboard-shortcuts">
    <thead>
      <tr>
        <th></th>
        <th>GitHub</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>p</kbd>
        </td>
        <td>Go to pull requests</td>
      </tr>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>i</kbd>
        </td>
        <td>go to github issues (only if github is preferred repository)</td>
      </tr>
    </tbody>
  </table>
</div>

<div class="col-md-6">
  <table class="table keyboard-shortcuts">
    <thead>
      <tr>
        <th></th>
        <th>POD</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>a</kbd>
        </td>
        <td>Go to author</td>
      </tr>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>c</kbd>
        </td>
        <td>Go to changes</td>
      </tr>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>i</kbd>
        </td>
        <td>Go to issues</td>
      </tr>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>d</kbd>
        </td>
        <td>Go to dist</td>
      </tr>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>r</kbd>
        </td>
        <td>Go to repository/SCM</td>
      </tr>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>s</kbd>
        </td>
        <td>Go to source</td>
      </tr>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>b</kbd>
        </td>
        <td>Go to file browse</td>
      </tr>

    </tbody>
  </table>
</div>

<div class="col-md-12">
  <table class="table keyboard-shortcuts">
    <thead>
      <tr>
        <th></th>
        <th>Search terms</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><em>module:</em> (e.g. <a href="https://metacpan.org/search?q=module%3APlugin">module:Plugin</a>)</td>
      </tr>
      <tr>
        <td><em>distribution:</em> (e.g. <a href="https://metacpan.org/search?q=distribution%3ADancer+auth">distribution:Dancer auth</a>)</td>
      </tr>
      <tr>
        <td><em>author:</em> (e.g. <a href="https://metacpan.org/search?q=author%3ASONGMU+Redis">author:SONGMU Redis</a>)</td>
      </tr>
      <tr>
        <td><em>version:</em> (e.g. <a href="https://metacpan.org/search?q=version%3A1.00">version:1.00</a>)</td>
      </tr>
    </tbody>
  </table>
</div>
              </div>
              <div class="modal-footer"></div>
            </div>
          </div>
        </div>
    </body>
</html>
